<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>KLIPSE: a simple and elegant online cljs compiler and evaluator</title>
<link rel='shortcut icon' type='image/x-icon' href='img/klipse.png' />
<link rel="stylesheet" type="text/css" href="css/codemirror.css">
</head>
<body>

  <pre><code class="sql">
    CREATE TABLE play (game, points, day)
  </code></pre>

  <pre><code class="sql">
    INSERT INTO play VALUES ("go", 500, "monday");
    INSERT INTO play VALUES ("go", 300, "tuesday");
    INSERT INTO play VALUES ("chess", 1250, "tuesday");
    INSERT INTO play VALUES ("chess", 1250, "tuesday");
    INSERT INTO play VALUES ("chess", 50, "sunday");
    INSERT INTO play VALUES ("chess", 3200, "saturday");
  </code></pre>

  <pre><code class="sql" data-editor-type="html">
    SELECT game, sum(points) as total_points FROM play GROUP BY game HAVING total_points &gt; 10
  </code></pre>

  <script>
   window.klipse_settings = {
     selector_sql: '.sql',
   };
  </script>
  <script src="/cljs-out/dev-main.js"></script>
  <link rel="stylesheet" type="text/css" href="css/sql.css">
</body>
</html>
